package com.zhong.subject.domain.convert;

import com.zhong.subject.domain.bo.SubjectAnswerBO;
import com.zhong.subject.infra.basic.entity.SubjectJudge;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper //此注解为mapstruct包下的
public interface SubjectJudgeConverter {
    SubjectJudgeConverter INSTANCE = Mappers.getMapper(SubjectJudgeConverter.class);

    SubjectJudge convertBoToRadio(SubjectAnswerBO subjectAnswerBO);

    List<SubjectAnswerBO> covertJudgeListToAnswerBoList(List<SubjectJudge> subjectJudgeList);

}
